Skip to content

fix: 融资启用时禁用预留现金控件 - #113

Merged
Pigbibi merged 1 commit into
mainfrom
fix/disable-reserve-when-margin-enabled
Jun 29, 2026
Merged

fix: 融资启用时禁用预留现金控件#113
Pigbibi merged 1 commit into
mainfrom
fix/disable-reserve-when-margin-enabled

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

融资启用(允许融资: 是)时,预留现金控件全部 disabled + muted:

  • reservePolicyModeSelect.disabled = marginBlocksReserve
  • 两个输入框的 disable 条件也恢复 marginBlocksReserve ||
  • margin 选项本身被禁用,用户仍可选择"是"来自动清除 reserve

验证链路检查:hasValidExecutionCashPolicy!executionCashPolicyConflict && hasValidReservePolicy 完整覆盖所有模式组合。

🤖 Generated with Claude Code

margin=yes 时 reserve 下拉框和输入框全部 disabled + muted
margin=no 时 reserve 控件正常可操作
margin 选项不被禁用(用户可选 margin 自动清除 reserve)

Co-Authored-By: Claude <noreply@anthropic.com>
@Pigbibi
Pigbibi merged commit 8881d36 into main Jun 29, 2026
2 of 4 checks passed
@github-actions

Copy link
Copy Markdown

🤖 Codex PR Review

⚠️ Review skipped: The Codex review could not be completed.

No Codex service URL or API key configured. Set CODEX_AUDIT_SERVICE_URL, ANTHROPIC_API_KEY, or OPENAI_API_KEY.

Please ensure a human reviewer checks this PR before merging.

@Pigbibi
Pigbibi deleted the fix/disable-reserve-when-margin-enabled branch June 29, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant